package com.oplink.webems.modules.alarm.service.anno;

import java.lang.reflect.Field;

public class GetFieldAnno {

	public GetFieldAnno() {
	}

	public GetFieldAnno(FieldMeta meta, Field field) {
		super();
		this.meta = meta;
		this.field = field;
		this.name = field.getName();
		this.type = field.getType();
	}

	public GetFieldAnno(FieldMeta meta, String name, Class<?> type) {
		super();
		this.meta = meta;
		this.name = name;
		this.type = type;
	}

	private FieldMeta meta;
	private Field field;
	private String name;
	private Class<?> type;

	public FieldMeta getMeta() {
		return meta;
	}

	public void setMeta(FieldMeta meta) {
		this.meta = meta;
	}

	public Field getField() {
		return field;
	}

	public void setField(Field field) {
		this.field = field;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Class<?> getType() {
		return type;
	}

	public void setType(Class<?> type) {
		this.type = type;
	}
}